/*
 * @Date: 2025-05-06 09:35:24
 * @LastEditors: lyx
 * @LastEditTime: 2025-05-07 09:41:34
 * @FilePath: \tpt-cnpc\src\pages\BigScreen\components\MainBody\hooks\useBody.tsx
 * @Description: 
 */
import { useState } from "react";
import AnomalyContainer from "../components/AnomalyContainer";
import PathContainer from "../components/PathContainer";
import ParamContainer from "../components/ParamContainer";
import QuestionContainer from "../components/QuestionContainer";

const useBody = () => {
  const [body] = useState<any>({
    question: {
      title: "装置运行状态",
      content: <QuestionContainer />,
    },
    anomaly: {
      title: "异常预测预警",
      content: <AnomalyContainer />,
    },
    param: {
      title: "操作参数优化",
      content: <ParamContainer></ParamContainer>,
    },
    path: {
      title: "操作路径优化",
      content: <PathContainer></PathContainer>,
    },
    undefined: {
      content: <></>,
    },
  });
  return {
    body,
  };
};

export default useBody;
